Copy Configuration and Log Files from a USB Device to Intflash

Copy configuration and log files from an external USB device to the internal Flash memory.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Copy configuration or log files from the USB device to Intflash:

    copy /usb/<srcfile> /intflash/<destfile>

Example

Switch:1#enable

Switch:1#copy /usb/test.cfg /intflash/test.cfg

Variable Definitions

The following table defines parameters for the copy command.

Variable

Value

<destfile>

Specifies the name of the configuration or log file when copied to the internal Flash memory. The destination file name must be lower case and have a file extension of .cfg or .log. For example, test.cfg or test.log.

The file name, including the directory structure, can include up to 255 characters.

<srcfile>

Specifies the name of the configuration or log file on the USB device. For example, test.cfg or test.log.

The file name, including the directory structure, can include up to 255 characters.